package com.seeyon.apps.ext.kingdee.controller;


import com.seeyon.apps.ext.kingdee.manager.kingdeeManager;
import com.seeyon.ctp.common.AppContext;
import com.seeyon.ctp.common.controller.BaseController;

import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class kingdeeController extends BaseController {


    private com.seeyon.apps.ext.kingdee.manager.kingdeeManager kingdeeManager;
    public kingdeeManager getkingdeeManager() {
        if (kingdeeManager == null) {
            kingdeeManager = (kingdeeManager) AppContext.getBean("kingdeeManager");
        }
        return kingdeeManager;
    }


    @Override
    public ModelAndView index(HttpServletRequest request, HttpServletResponse response) throws Exception {
        /*JSP file path:ApacheJetspeed\webapps\seeyon\WEB-INF\jsp\apps\ext\kingdee\kingdee.jsp*/
      /*  String url = getkingdeeManager().getSingleLoginUrl(AppContext.currentUserLoginName());
        logger.info("index");
        return new ModelAndView("redirect:"+url);*/
        return null;
    }


}